<?php

declare(strict_types=1);

namespace app\api\controller;

use app\common\lib\Alipay;
use app\common\lib\Qrcode;

class Test
{
    public function index()
    {
        $img = app(Alipay::class)->scan();
        Qrcode::getUrlQrcode($img);
    }

    public function notify()
    {
        writeLog(input(), 'notify');
    }
}
